﻿@{
    ViewBag.Title = "update";
}
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>update</title>
</head>
    <style type="text/css">
    </style>
<body>
    <h1 style="text-align:center"><a href="/Admin/Home" style="font-size:20px;color:#000;text-decoration:none;">《《《</a>图书信息修改界面</h1>
    <div style="text-align:center;"> 
        <form method="post" action="/Admin/update/?id=@ViewBag.book.ID" >
            <table style="border:1px solid black;margin:0px auto;background-color:lightgray;">
                <tr class="tr" style="border:1px solid black;">
                    <td>书籍ID:</td>
                    <td>@ViewBag.book.ID</td>
                    <td style="color:red;"><p>此属性不允许被修改</p></td>
                <tr />
                <tr class="tr">
                    <td>书名:</td>
                    <td><input type="text" value="@ViewBag.book.bookname" name="bookname"/></td>
                </tr>
                <tr class="tr">
                    <td>作者:</td>
                    <td><input type="text" value="@ViewBag.book.Author"  name="Author"/></td>
                </tr>
                <tr class="tr">
                    <td>出版社:</td>
                    <td><input type="text" value="@ViewBag.book.Press" name="Press"/></td>
                </tr>
                <tr class="tr">
                    <td>价格:</td>
                    <td><input type="text" value="@ViewBag.book.Price" name="price"/></td>
                </tr>
                <tr class="tr">
                    <td>书籍类型:</td>
                    <td>@ViewBag.book.Type</td>
                    <td style="color:red;">此属性不允许被修改</td>
                </tr>
                <tr class="tr">
                    <td>简介:</td>
                    <td><input type="text" value="@ViewBag.book.Introduced" name="Introduced" /></td>
                </tr>
                <tr class="tr">
                    <td></td>
                    <td style="margin:0px auto ;">
                          <input type="submit" value="确认修改">
                    </td>
                    <td></td>
                </tr>
            </table>
</form>
        
    </div>
</body>
</html>